<?php slot('sub', $sub); ?>
<?php use_javascript('jquery-1.11.0.js') ?>
<?php use_javascript('vars.js') ?>
<?php use_javascript('admins_hotels.js') ?>

<div class="center">
    <div id="center_conteiner" class="clearfix">
        <div class="center_sub_conteiner">

            <div class="center_block">
                <div class="header_center_block"><span>Hotels</span></div>

                <div class="center_line">
                    <div class="row_one">
                        <label for="search_city_select">City</label>
                        <select id="search_city_select">
                            <option value="0" selected="selected">All</option>
                            <?php
                            foreach ($city as $c) {
                                echo '<option value="' . $c->getId() . '">' . $c->getNameEn() . '</option>';
                            }
                            ?>
                        </select>
                    </div>

                    <div class="row_two">
                        <label for="search_city_select">Hotel</label>
                        <select id="search_city_select">
                            <option value="0" selected="selected">All</option>
                            <?php
                            foreach ($names as $n) {
                                echo '<option value="' . $n->getId() . '">' . $n->getNameEn() . '</option>';
                            }
                            ?>
                        </select>
                    </div>

                    <div class="row_three">
                        <label for="search_city_select">Provider</label>
                        <select id="search_city_select">
                            <option value="0" selected="selected">All</option>
                            <?php
                            foreach ($provider as $p) {
                                echo '<option value="' . $p->getId() . '">' . $p->getName() . '</option>';
                            }
                            ?>
                        </select>
                    </div>

                    <div class="row_four">
                        <label for="search_ranks_slider">Rank</label>
                        <ul class="top">
                            <li><img src="/web/images/icoSmallStar.png"</li>
                            <li><img src="/web/images/icoSmallStar.png"</li>
                            <li><img src="/web/images/icoSmallStar.png"</li>
                            <li><img src="/web/images/icoSmallStar.png"</li>
                            <li><img src="/web/images/icoSmallStar.png"</li>
                        </ul>
                        <div class="row_four_slider"></div>
                        <ul class="down">
                            <li><img src="/web/images/icoSmallStar.png"</li>
                            <li><img src="/web/images/icoSmallStar.png"</li>
                            <li><img src="/web/images/icoSmallStar.png"</li>
                            <li><img src="/web/images/icoSmallStar.png"</li>
                            <li><img src="/web/images/icoSmallStar.png"</li>
                        </ul>
                    </div>

                </div>

                <div class="center_line">
                    <input type="button" class="hotel_search_button" value="Search">
                </div>
            </div>

            <div class="center_block">

                <div class="users_title">
                    <div class="users_title_id">id</div>
                    <div class="users_title_title">name</div>
                    <div class="hotels_title_admin_stars">stars</div>
                    <div class="hotels_title_admin_country">country</div>
                    <div class="hotels_title_admin_city">city</div>
                    <div class="hotels_title_admin_provider">provider</div>
                    <div class="add_new_user"><a href="<?php echo url_for('addhotel'); ?>">Add</a></div>
                </div>

                <div class="hotels_container_line"></div>
                <div class="pages_list"></div>
            </div>
        </div>
    </div>
</div>

<div class="loader_hotel">
    <img src="../images/loader4.gif"/>
</div>
